refactor(tvix/nix-compat): const is always 'static
Change-Id: If33bbf47a6cc376f2c0935ea4331a819223b2f00 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7993 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
		
							parent
							
								
									3091ac69f4
								
							
						
					
					
						commit
						894d17b29b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -11,7 +11,7 @@ use std::fmt::Write;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use thiserror::Error;
 | 
					use thiserror::Error;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const ALPHABET: &'static [u8; 32] = b"0123456789abcdfghijklmnpqrsvwxyz";
 | 
					const ALPHABET: &[u8; 32] = b"0123456789abcdfghijklmnpqrsvwxyz";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/// Errors that can occur while decoding nixbase32-encoded data.
 | 
					/// Errors that can occur while decoding nixbase32-encoded data.
 | 
				
			||||||
#[derive(Debug, Eq, PartialEq, Error)]
 | 
					#[derive(Debug, Eq, PartialEq, Error)]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue